<?php $this->beginContent('//layouts/main'); ?>
<script src="<?php echo Yii::app()->request->baseUrl; ?>/js/globalrange.js" type="text/javascript"></script>
<script>
    $( document ).ready(function() {
        var baseUrl="<?php echo Yii::app()->request->baseUrl; ?>";
        replaceDictionary(baseUrl);
    });
</script>
<div class="span-19">
    <div id="content">
        <?php echo $content; ?>
    </div><!-- content -->
    <div id="comments">
    <?php
    $this->widget('RecentComments', array('title' => Yii::t('app', 'comments.title'),
        'maxComments' => Yii::app()->params['recentCommentCount'],
    ));
    ?>
</div>
</div>
<div class="span-5 last">
    <div id="sidebar">
        reklamy
        <?php
        $this->beginWidget('zii.widgets.CPortlet', array(
            'title' => 'Operations',
        ));
        $this->widget('zii.widgets.CMenu', array(
            'items' => $this->menu,
            'htmlOptions' => array('class' => 'operations'),
        ));
        $this->endWidget();
        ?>
        
    </div><!-- sidebar -->
</div>

<?php $this->endContent(); ?>